<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=<device-width>, initial-scale=1.0">
    <title>Css</title>
</head>
<body>
   <style>
        body {
            width: 100%;
            height: 100%;
            margin: 0;
            background-color: gray;
            background-image: url(./红楼.png);
            background-repeat: no-repeat;
            background-position: top center;/*水平，垂直*/
            margin-right: 200px;
            background-size: 659px 872px;
        }

        h1 {
            background-color: rgb(243, 162, 104);
            color: rgb(152, 127, 82);
            text-align: center;
        }

        p {
            font-size: 20px;
            text-align: center;
        }

        p.heading {
            color: rgb(246, 118, 104);

            letter-spacing: 5px;
            font-size: 70px;
            font-weight: bolder;
            padding-top: 100px
        }
        
    </style>
    <h1>红楼梦</h1>
    <p style="background-color:rgb(225, 110, 110);">曹雪芹</p>
    <p class="heading">满纸荒唐言</br>一把辛酸泪</br>都云作者痴</br>谁解其中味</p>
    
</body>

</html>